package cn.sundat.dao;

import java.util.List;

import cn.sundat.model.Dict;

public class DictDaoImpl extends BaseDaoImpl<Dict> implements DictDao{

	@Override
	public List<Dict> findItemByType(String s) {
		List<Dict> list = (List<Dict>) this.getHibernateTemplate().find("from Dict where dict_type_code=?", s);
		if(list!=null && list.size()!=0) {
			return list;
		}
		return null;
	}
	
}
